﻿using System;
using System.Collections.Generic;
using System.Text;

namespace CrawlerApp.Core.Entities.BookAggregate
{
    public class BookVote
    {
        public int Great { get; private set; }
        public int Good { get; private set; }
        public int Normal { get; private set; }
        public int Worse { get; private set; }
        public int Bad { get; private set; }

        public BookVote(int great, int good, int normal, int worse, int bad)
        {
            Great = great;
            Good = good;
            Normal = normal;
            Worse = worse;
            Bad = bad;
        }

        public void Update(int great, int good, int normal, int worse, int bad)
        {
            Great = great;
            Good = good;
            Normal = normal;
            Worse = worse;
            Bad = bad;
        }
    }
}
